package com.coin.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.coin.service.HelloService;

import javax.annotation.Resource;

/**
 * Created by chenhao on 2017/5/16.
 */
@RestController
@RequestMapping("/common")
public class CommonController {
    @Resource
    private HelloService helloService;

    @GetMapping("/helloWorld")
    public String helloWorld(){
        helloService.findFlowByMemberIdAndMemberType(1l);
        return "helloWorld";
    }
}
